class Init {

    constructor() {
        Laya.init(600, 400);
        this.init();
        console.log(this);
    }
   // 初始化
    private init():void{
        //屏幕适配
        Laya.stage.scaleMode    =   Laya.Stage.SCALE_EXACTFIT;
        Laya.stage.alignH       =   Laya.Stage.ALIGN_CENTER;
        Laya.stage.alignV       =   Laya.Stage.ALIGN_MIDDLE;
        Laya.stage.screenMode   =   Laya.Stage.SCREEN_VERTICAL;  
    }


}